/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package cn.edu.nju.software.login.factory;

import cn.edu.nju.software.login.DAO.UserDAO;

/**
 *
 * @author han
 */
public class DAOFactory {
    private static UserDAO userDAO = null;
    
    public static UserDAO getUserDAOInstance(){
        if(userDAO == null) userDAO = new UserDAO();
        return userDAO;
    }
}
